Interface PopupMenuItem

All Superinterfaces:
IPCObject
All Known Implementing Classes:
PopupMenuItemImpl

public interface PopupMenuItem extends IPCObject
Information provided by the PKI file:

    \class MenuItem
    
    \brief MenuItem is an item in the Menu object.
    
    \example appWindow().getMenuBar().getFilePopupMenu().getMenuItemByName("Save")
    
Author:
Auto-generated
  • Method Details

    • getUuid

      UUID getUuid()
      Information provided by the PKI file:
      
          \brief Returns the UUID of this menu item.
          
          \return uuid, the UUID of this menu item.
          
              
      Returns:
      UUID Returns a UUID
    • removeItem

      void removeItem()
      Information provided by the PKI file:
      
          \brief Removes this menu item from the parent menu.
          
              
    • getLabel

      String getLabel()
      Information provided by the PKI file:
      
          \brief Returns the label for this menu item.
          
          \return QString, the label for this menu item.
          
              
      Returns:
      String Returns a String
    • setEnabled

      void setEnabled(boolean bEnabled)
      Information provided by the PKI file:
      
          \brief Enables or disables this menu item.
          
          \param bEnabled, true to enable this menu item, false to disable it.
          
              
      Parameters:
      bEnabled - Takes in a parameter of bEnabled
    • setVisible

      void setVisible(boolean bVisible)
      Information provided by the PKI file:
      
          \brief Shows or hides this menu item.
          
          \param bVisible, true to show this menu item, false to hide it.
          
              
      Parameters:
      bVisible - Takes in a parameter of bVisible